Optimal. Leaf size=191 \[ \frac{3 \left (a^2 d^2+6 a b c d+b^2 c^2\right ) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 \sqrt{b} \sqrt{d}}-\frac{(a+b x)^{3/2} (c+d x)^{3/2}}{x}+\frac{3}{2} b \sqrt{a+b x} (c+d x)^{3/2}+\frac{3}{4} \sqrt{a+b x} \sqrt{c+d x} (3 a d+b c)-3 \sqrt{a} \sqrt{c} (a d+b c) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{a} \sqrt{c+d x}}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.622082, antiderivative size = 191, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273 \[ \frac{3 \left (a^2 d^2+6 a b c d+b^2 c^2\right ) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 \sqrt{b} \sqrt{d}}-\frac{(a+b x)^{3/2} (c+d x)^{3/2}}{x}+\frac{3}{2} b \sqrt{a+b x} (c+d x)^{3/2}+\frac{3}{4} \sqrt{a+b x} \sqrt{c+d x} (3 a d+b c)-3 \sqrt{a} \sqrt{c} (a d+b c) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{a} \sqrt{c+d x}}\right ) \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^(3/2)*(c + d*x)^(3/2))/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 83.3026, size = 182, normalized size = 0.95 \[ - 3 \sqrt{a} \sqrt{c} \left (a d + b c\right ) \operatorname{atanh}{\left (\frac{\sqrt{c} \sqrt{a + b x}}{\sqrt{a} \sqrt{c + d x}} \right )} + \frac{3 b \sqrt{a + b x} \left (c + d x\right )^{\frac{3}{2}}}{2} + \sqrt{a + b x} \sqrt{c + d x} \left (\frac{9 a d}{4} + \frac{3 b c}{4}\right ) - \frac{\left (a + b x\right )^{\frac{3}{2}} \left (c + d x\right )^{\frac{3}{2}}}{x} + \frac{3 \left (a^{2} d^{2} + 6 a b c d + b^{2} c^{2}\right ) \operatorname{atanh}{\left (\frac{\sqrt{b} \sqrt{c + d x}}{\sqrt{d} \sqrt{a + b x}} \right )}}{4 \sqrt{b} \sqrt{d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**(3/2)*(d*x+c)**(3/2)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.128776, size = 212, normalized size = 1.11 \[ \frac{3 \left (a^2 d^2+6 a b c d+b^2 c^2\right ) \log \left (2 \sqrt{b} \sqrt{d} \sqrt{a+b x} \sqrt{c+d x}+a d+b c+2 b d x\right )}{8 \sqrt{b} \sqrt{d}}+\sqrt{a+b x} \sqrt{c+d x} \left (\frac{5}{4} (a d+b c)-\frac{a c}{x}+\frac{b d x}{2}\right )+\frac{3}{2} \sqrt{a} \sqrt{c} \log (x) (a d+b c)-\frac{3}{2} \sqrt{a} \sqrt{c} (a d+b c) \log \left (2 \sqrt{a} \sqrt{c} \sqrt{a+b x} \sqrt{c+d x}+2 a c+a d x+b c x\right ) \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x)^(3/2)*(c + d*x)^(3/2))/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.023, size = 489, normalized size = 2.6 \[{\frac{1}{8\,x}\sqrt{bx+a}\sqrt{dx+c} \left ( 3\,{d}^{2}\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{d{x}^{2}b+adx+bcx+ac}\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ){a}^{2}\sqrt{ac}x+18\,bd\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{d{x}^{2}b+adx+bcx+ac}\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) ac\sqrt{ac}x+3\,{b}^{2}\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{d{x}^{2}b+adx+bcx+ac}\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ){c}^{2}\sqrt{ac}x-12\,{a}^{2}c\ln \left ({\frac{adx+bcx+2\,\sqrt{ac}\sqrt{d{x}^{2}b+adx+bcx+ac}+2\,ac}{x}} \right ) d\sqrt{bd}x-12\,a{c}^{2}\ln \left ({\frac{adx+bcx+2\,\sqrt{ac}\sqrt{d{x}^{2}b+adx+bcx+ac}+2\,ac}{x}} \right ) b\sqrt{bd}x+4\,bd{x}^{2}\sqrt{d{x}^{2}b+adx+bcx+ac}\sqrt{bd}\sqrt{ac}+10\,\sqrt{d{x}^{2}b+adx+bcx+ac}dax\sqrt{ac}\sqrt{bd}+10\,\sqrt{d{x}^{2}b+adx+bcx+ac}bxc\sqrt{ac}\sqrt{bd}-8\,\sqrt{d{x}^{2}b+adx+bcx+ac}ac\sqrt{ac}\sqrt{bd} \right ){\frac{1}{\sqrt{d{x}^{2}b+adx+bcx+ac}}}{\frac{1}{\sqrt{bd}}}{\frac{1}{\sqrt{ac}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^(3/2)*(d*x+c)^(3/2)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^(3/2)*(d*x + c)^(3/2)/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 1.65911, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^(3/2)*(d*x + c)^(3/2)/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (a + b x\right )^{\frac{3}{2}} \left (c + d x\right )^{\frac{3}{2}}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**(3/2)*(d*x+c)**(3/2)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.601075, size = 4, normalized size = 0.02 \[ \mathit{sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^(3/2)*(d*x + c)^(3/2)/x^2,x, algorithm="giac")
[Out]